<template>
	<view :style="{'padding-top': spaceHeight,'padding-bottom': spaceHeight,'background-color' : bgColor}">
		
	</view>
</template>

<script>
	export default {
		name: 'OmWhiteSpace',
		props:{
			size: {
				type: String,
				default () {
					return 'default'
				}
			},
			bgColor:{
				type: String,
				default () {
					return 'default'
				}
			}
		},
		data() {
			return {
				
			}
		},
		computed:{
			spaceHeight(){
				let height = 4;
				if(this.size === "small"){
					height = 2;
				}else if(this.size === "large"){
					height = 8;
				}
				return height + "px";
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
